package com.nowcoder.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @author szq
 * @create 2023-01-24 1:28
 * @description
 */
@Data
public class Message {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private int fromId;
    private int toId;
    private String conversationId;
    private String content;
    private int status;         // 0-未读;1-已读;2-删除;
    private Date createTime;
}
